Model Checking Framework-based Applications with AspectJ Assistance

نویسندگان

  • Zebin Chen
  • Stephen Fickas
چکیده

We built Smart Home applications for the Cognitively Impaired population. We have chosen to work with an existing framework, OSGi, which allows us to develop specific applications more quickly. We use a combination of traditional testing and formal verification to insure these applications will cause no harm to the cognitively impaired users of our systems. This paper will focus on our results to date of using model checking to verify OSGi applications. We have created a formal model parallel to OSGi, which can be reused as a modeling framework to plug in and check OSGi applications. The trick has been to vary and combine different features of OSGi (i.e., abstract away the details that are not relevant to the particular property we wish to verify, but include the details when they are relevant), since a feature tends to involve code scattering in multiple classes. We have found that aspect-oriented programming, using AspectJ, is a potential solution. Using aspects, we have been able to prune large portions of OSGi in a controllable manner. One obstacle to this approach is that AspectJ will introduce native code so that an AspectJ program can’t be checked by Java PathFinder (JPF). We report our efforts to date to resolve this problem and enable model checking AspectJ programs in general. KeywordsModel Checking; Java PathFinder; AspectJ; Framework; OSGi

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

J-LO A tool for runtime-checking temporal assertions

We present a Runtime Verification framework for Java programs called the Java Logical Observer, J-LO for short. Properties can be specified in Linear-time Temporal Logic (LTL) over AspectJ pointcuts. These properties are checked during program-execution by an automaton-based approach where transitions are triggered through aspects. No Java source code is necessary since AspectJ works on the byt...

متن کامل

Modularization of Enterprise Application Security Through Spring AOP

The goal of the paper is to present that Aspect Oriented Programming AspectJ integrated with Spring AOP provides very powerful mechanisms for modularizing enterprise security cross-cutting concerns. Aspect-oriented programming (AOP) allows weaving a security aspect into an application providing additional security functionality or introducing completely new security mechanisms.Spring’s proxy-ba...

متن کامل

The abc Group abc : An extensible AspectJ compiler abc

Research in the design of aspect-oriented programming languages requires a workbench that facilitates easy experimentation with new language features and implementation techniques. In particular, new features for AspectJ have been proposed that require extensions in many dimensions: syntax, type checking and code generation, as well as data flow and control flow analyses. The AspectBench Compil...

متن کامل

The abc Group abc : An extensible AspectJ compiler abc Technical Report No . abc - 2004 - 1

Research in the design of aspect-oriented programming languages requires a workbench that facilitates easy experimentation with new language features and implementation techniques. In particular, new features for AspectJ have been proposed that require extensions in many dimensions: syntax, type checking and code generation, as well as data flow and control flow analyses. The AspectBench Compil...

متن کامل

Program Analysis Using Binary Decision Diagrams

A fundamental problem in interprocedural program analyses is the need to represent and manipulate collections of large sets. Binary Decision Diagrams (BDDs) are a data structure widely used in model checking to compactly encode large state sets. In this dissertation, we develop new techniques and frameworks for applying BDDs to program analysis, and use our BDD-based analyses to gain new insigh...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2011